package com.mushuilingfeng.ddd.framework;

/**
 * @date 2024/9/14
 */
public class ComponentFactoryHolder {
    private ComponentFactoryHolder() {

    }

    private static ComponentFactory componentFactory;

    public static void setComponentFactory(ComponentFactory componentFactory) {
        ComponentFactoryHolder.componentFactory = componentFactory;
    }

    public static ComponentFactory getComponentFactory() {
        return componentFactory;
    }

}
